﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartApplication.Infrastructure.Instrument
{
    public interface IBaseRepository<T>
    {
        Task<int> AddAsync(T t);
        Task<int> UpdateAsync(T t);
        Task<T> GetValueAsync(long id);
       IQueryable<T> GetAll();
    }
}
